﻿#region 命名空间

using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using WinnerCMS.Common;
using WinnerCMS.Data;
using WinnerCMS.Model;

#endregion

namespace WinnerCMS.BLL.PageFactory
{
    [ToolboxData("<{0}:ContentTags runat=\"server\"></{0}:ContentTags>")]
     //[PartialCaching(10, "ParentId;Level", null, null)]
    public class ContentTags : DataBox
    {
        #region ContentId

        public int ContentId { set; get; }

        #endregion

        public override object DataSource
        {
            get { return new TagsManage().ContentTags(ContentId); }
        }

        protected override void OnLoad(EventArgs e)
        {
            DataBind();
        }
    }
}